import request from '@/utils/request'

export function getList() {
  return request({
    url: `/manager/manager/getOpenStatus`,
    method: 'post'
  })
}

export function toggleId(id) {
  return request({
    url: `/manager/manager/openStatus`,
    method: 'post',
    data:{ type:id }
  })
}
